<form id="message_form" action="<?php echo url_for('@message_create') ?>" method="post">
    <table>
        <tr>
            <td><?php echo __('Template') ?></td>
            <td>
                <?php echo $form['list']->render() ?>
                <?php if ($form['list']->hasError()) echo __($form['list']->getError()->getMessage()) ?>
            </td>
        </tr>
        <tr>
            <td><?php echo __('Type') ?></td>
            <td>
                <?php echo $form['type']->render() ?>
                <?php if ($form['type']->hasError()) echo __($form['type']->getError()->getMessage()) ?>
            </td>
        </tr>
        <tr>
            <td><?php echo __('Restaurant') ?></td>
            <td>
                <?php echo $form['restaurant']->render() ?>
                <?php if ($form['restaurant']->hasError()) echo __($form['restaurant']->getError()->getMessage()) ?>
            </td>
        </tr>
        <tr>
            <td><?php echo __('Subject') ?></td>
            <td>
                <?php echo $form['subject']->render() ?>
                <?php if ($form['subject']->hasError()) echo __($form['subject']->getError()->getMessage()) ?>
            </td>
        </tr>
        <tr>
            <td><?php echo __('Body') ?></td>
            <td>
                <?php echo $form['body']->render() ?>
                <?php if ($form['body']->hasError()) echo __($form['body']->getError()->getMessage()) ?>
            </td>
        </tr>
    </table>
    <?php echo $form->renderHiddenFields() ?>
</form>